package com.example.streamkafka;

import com.example.streamkafka.message.Sink;
import com.example.streamkafka.message.Source;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.stream.annotation.EnableBinding;

/**
 * @author yhy
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableBinding({Sink.class,Source.class})
public class StreamKafkaApplication {
	public static void main(String[] args) {
		SpringApplication.run(StreamKafkaApplication.class, args);
	}
}
